package homework6_24.practice5;

import homework6_24.practice5.jiekou.Swim;
import homework6_24.practice5.jiekou.Swimmer;

public class Fish extends Swimmer implements Swim {
	public Fish(String name, String speed) {
		super(name, speed);
	}

	@Override
	public void swim() {
		System.out.println(this.getName() + "正在以" + this.getSpeed() + "的速度欢快的游泳");
	}
}
